package online.szlib.com.core.services;

import java.util.List;

import online.szlib.com.core.domain.User;

public interface UserService {

	public void addUser(User user);

	public List<User> listUsers();
	
	public User getUser(long userid);
	
	public void deleteUser(User user);
	
	public Long create(User user);
	
	public void update(User user);
	
	public void deleteById(Long id);
	
	public User login(String userName, String password);
}
